   <%if check_admin%>
        <h1>借书/还书</h1>
          <ul>
            <li><a href="/out/new">办理借书</a></li>
            <li><a href="/in/step1">办理还书</a></li>
            <li><a href="/out/list">借出图书</a></li>
            <li><a href="/out/showNeedcheckRecords">待批图书</a></li>
            <li><a href="/histry/list">历史记录</a></li>
          </ul>
        <h1>图书管理</h1>
          <ul>
            <li><a href="/book">图书</a></li>
            <li><a href="/publish">出版社</a></li>
          </ul>
    <%end%>
        <h1>查询模块</h1>
          <ul>
            <li><a href="/out/search">查询</a></li>
            <li><%=link_to '我借的书',{:controller => 'out',:action=>'search_myOut',:id => session[:user]}%></li>
          </ul> 
         <h1>热门标签</h1>
    <% tag_cloud @tag_counts, %w(css1) do |tag, css_class| %>
    <%= link_to tag.name, {:controller => :book, :action => :tag, :id => tag.name }, :class => css_class %>
    <% end %>